#include "serverconfig.h"

ServerConfig::ServerConfig(QObject *parent) : QObject(parent)
{

}
/**
 * 设置端口
 * @brief setPort
 * @param port
 */
void ServerConfig::setPort(uint16_t port){
    this->port = port;
}
/**
 * 获取端口
 * @brief getPort
 * @return
 */
uint16_t ServerConfig::getPort(){
    return this->port;
}
